﻿/*************************************************************************
    > File Name: global.cpp
    > Author: fantx
    > Created Time: 2019-10-18
 ************************************************************************/

#include "global.h"

Ouint8 g_update_status = 0 ;//default factory/
Ouint8 g_set_led_para = 0;
Ouint8 g_set_led_setup = 0 ;
Ouint8 g_freeze_out = 0;

//onbon ovp
Ouint8  g_force_bkcolor=1;     //bit0=强迫蓝屏
Ouint8  ScreenState = 1;
Ouint32 G_timeTicks = 0;
Ouint32 G_reboot_tickTicks = 0;
Struct_sys_change   g_change;
Ouint32 readtime_ticks;
Ouint8 pc_cmd_valid = 0;
Ouint8 g_power_open_running;
Ouint8 g_power_close_running;
Ouint32 pc_cmd_time;
Ouint32 g_fpga_c331_start = 0;
bool g_update_flag = false;
bool g_tip_flag = false;
bool g_app_reset_flag = false;


Ouint8 fileBuf_onbon[5*1024*1024];
